package com.admin.infrastructure;


import org.springframework.beans.BeanUtils;


/**
 * 你这不是蛋疼么。。
 *
 * @author Jonsy
 */
public class BeanUtil {

    public static void copeProperties(Object from, Object dest){
        try{
            BeanUtils.copyProperties(from, dest);
        } catch(Exception e){
            throw new RuntimeException(e);
        }
    }
}
